﻿using System;
using System.Collections.Generic;

//1. Write a program to convert decimal numbers to their binary representation.

using System;

class DecimalToBinary
{
    static void Main()
    {
        int decimalNumber = int.Parse(Console.ReadLine());
        Console.WriteLine(GetIntBinaryString(decimalNumber));
    }
    static string GetIntBinaryString(int decimalNumber)
    {
        char[] bits = new char[32];

        for (int i = 0; i < bits.Length; i++)
        {
            if ((decimalNumber & 1 << i) != 0)
            {
                bits[31 - i] = '1';
            }
            else
            {
                bits[31 - i] = '0';
            }
        }
        string binaryNumber = new string(bits);
        return binaryNumber;
    }
}
